home *** CD-ROM | disk | FTP | other *** search
- #ifndef MANAGERWINDOW_HPP
- #define MANAGERWINDOW_HPP
-
- // $VER: ManagerWindow.hpp 39.8 (10.06.97)
- //
- //
- // (C) Copyright 1996,97 Markus Hillenbrand
- // All Rights Reserved, No Warranty
-
- #include "GUICINCLUDE:GUIC_Window.hpp"
- #include "GUICINCLUDE:GUIC_List.hpp"
-
- class GUIC_ScreenC;
- class GUIC_ApplicationC;
- class GUIC_ListviewC;
- class GUIC_ButtonC;
- class GUIC_PathStringC;
- class GUIC_LabelC;
- class GUIC_NumberC;
- class GUIC_TextC;
- class GUIC_CheckboxC;
-
- class ThumbnailWindowC;
- class PictureWindowC;
- class InformationWindowC;
-
- class ManagerWindowC : public GUIC_WindowC
- {
- public:
- ManagerWindowC (GUIC_ApplicationC &app, GUIC_ScreenC &screen);
- ~ManagerWindowC (VOID);
- BOOL action (GUIC_EventC &event);
- VOID setWindows (ThumbnailWindowC &t, PictureWindowC &p);
- VOID setThumbnailDim (LONG x, LONG y);
- STRPTR getClass (VOID);
- VOID showPic (VOID);
- VOID deletePic (VOID);
- VOID movePic (VOID);
- BOOL copyPic (VOID);
- VOID disableGadgets (VOID);
- VOID enableGadgets (VOID);
- protected:
- VOID cleanUp (VOID);
- private:
- VOID scanSource (STRPTR s);
- VOID scanDestination (STRPTR root);
- STRPTR getDestination (LONG i);
- STRPTR getThumbnailName (VOID);
- STRPTR getPictureName (VOID);
-
- GUIC_ApplicationC *app;
- GUIC_ScreenC *screen;
- GUIC_LabelC *sourceLabel, *destinationLabel, *showLabel, *scaleLabel, *centerLabel;
- GUIC_ListviewC *source, *destination;
- GUIC_PathStringC *sourcePath, *destinationPath;
- GUIC_TextC *mal, *pixel, *message;
- GUIC_NumberC *width, *height;
- GUIC_CheckboxC *show, *scale, *center;
- GUIC_ButtonC *deleteFile, *moveFile, *copyFile, *genThumbnail;
-
- LONG tWidth, tHeight;
-
- ThumbnailWindowC *tWindow;
- PictureWindowC *pWindow;
- InformationWindowC *iWindow;
- };
-
- #endif
-
-